package com.my.client.util;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

public class ResultMap {
private Map<String,Object> map = null;
public ResultMap(){
	map = new HashMap<String,Object>();
}
public void  put(String key,Object value){
  map.put(key, value);
}

public Object get(String key){
	return map.get(key);
}
public String  toParseString(){
	StringBuilder sb = new StringBuilder();
	Iterator<String> it = map.keySet().iterator();
    while(it.hasNext()){
    	String key = it.next();
    	Object value = map.get(key);
    	sb.append(key).append("=>").append(value.getClass()).append("\n");
    }
    return sb.toString();
}
}
